package org.login.consumer;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "org.login.controller")
public class LoginConsumer {

	public static void main(String[] args) {
		// 测试常规服务
//		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{
//				"META-INF/shop-b2b2c-admin-consumer.xml"
//		});
//		context.start();
//		System.out.println("consumer start");
//		LoginService demoService = context.getBean(LoginService.class);
//		System.out.println("consumer");
//		System.out.println(demoService.ajaxReturn());
		SpringApplication.run(LoginConsumer.class,args);
		
	}
	
}
